package com.xp.tinyurl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * springboot项目的启动配置类
 *
 * 域名未生效前打开 跨域验证
 *
 * @author liuxw
 * @date 2019/3/6
 * @since 1.0
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.**.dao"})
public class TinyUrlApplication {

    public static void main(String[] args) {

        //jar包形式的启动类，是以main为入口的
        SpringApplication.run(TinyUrlApplication.class, args);
    }
}
